﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using WebApi.Core.IRepository;
using WebApi.Core.IRepository.Base;
using WebApi.Core.IService;
using WebApi.Core.Model.Entity;
using WebApi.Core.Service.Base;

namespace WebApi.Core.Service
{
    public class RoleService : BaseServices<RoleEntity>, IRoleService
    {
        private readonly IRoleRepository _roleDal;

        public RoleService(IBaseRepository<RoleEntity> _baseRepository,IRoleRepository _roleRepository):base(_baseRepository)
        {
            _roleDal = _roleRepository;
        }

        //public async Task<int> GetCount()
        //{
        //    return await _userDal.GetCount();
        //}
    }
}
